package com.greyu.ysj.mapper;

import com.greyu.ysj.entity.CbtVoteRecharge;
import com.greyu.ysj.entity.CbtVoteRechargeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CbtVoteRechargeMapper {
    long countByExample(CbtVoteRechargeExample example);

    int deleteByExample(CbtVoteRechargeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CbtVoteRecharge record);

    int insertSelective(CbtVoteRecharge record);

    List<CbtVoteRecharge> selectByExample(CbtVoteRechargeExample example);

    CbtVoteRecharge selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CbtVoteRecharge record, @Param("example") CbtVoteRechargeExample example);

    int updateByExample(@Param("record") CbtVoteRecharge record, @Param("example") CbtVoteRechargeExample example);

    int updateByPrimaryKeySelective(CbtVoteRecharge record);

    int updateByPrimaryKey(CbtVoteRecharge record);
    //*********************************************
    float selectTotalCountByuserId(int userId);
}